package com.imooc.mall.service;

import com.github.pagehelper.PageInfo;
import com.imooc.mall.vo.ProductDetailVo;
import com.imooc.mall.vo.ProductVo;
import com.imooc.mall.vo.ResponseVO;

import javax.xml.ws.Response;
import java.util.List;

/**
 * @author: bizy
 * @date: 2020/07/15 21:16
 */
public interface IProductService {

    ResponseVO<PageInfo> list(Integer categoryId, Integer pageNum, Integer pageSize);

    ResponseVO<ProductDetailVo> detail(Integer productId);
}
